package com.ruoyi.standingbook.cleaning.service;

import com.ruoyi.standingbook.cleaning.domain.CleaningImportDetail;
import com.ruoyi.standingbook.cleaning.domain.vo.CleaningImportDetailVo;
import com.ruoyi.standingbook.cleaning.domain.bo.CleaningImportDetailBo;
import com.ruoyi.common.core.page.TableDataInfo;
import com.ruoyi.common.core.domain.PageQuery;

import java.util.Collection;
import java.util.List;

/**
 * 清扫保洁导入明细Service接口
 *
 * @author cc
 * @date 2023-04-27
 */
public interface ICleaningImportDetailService {

    /**
     * 查询清扫保洁导入明细
     */
    CleaningImportDetailVo queryById(Long id);

    /**
     * 查询清扫保洁导入明细列表
     */
    TableDataInfo<CleaningImportDetailVo> queryPageList(CleaningImportDetailBo bo, PageQuery pageQuery);

    /**
     * 查询清扫保洁导入明细列表
     */
    List<CleaningImportDetailVo> queryList(CleaningImportDetailBo bo);

    /**
     * 新增清扫保洁导入明细
     */
    Boolean insertByBo(CleaningImportDetailBo bo);

    /**
     * 修改清扫保洁导入明细
     */
    Boolean updateByBo(CleaningImportDetailBo bo);

    /**
     * 校验并批量删除清扫保洁导入明细信息
     */
    Boolean deleteWithValidByIds(Collection<Long> ids, Boolean isValid);
    
    Boolean batchInsertVo(List<CleaningImportDetailVo> voList);
}
